package com.zcyh.exam.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 试卷-区域
 * @author timo 2021/4/2
 */
@Data
@TableName("exam_test_paper_area")
@NoArgsConstructor
public class TestPaperArea {

    /**主键*/
    @TableId(type = IdType.ASSIGN_ID)
    private String id;
    /**试卷id*/
    private String testPaperInfoId;
    /**区域code*/
    private String areaCode;

    public TestPaperArea(String testPaperInfoId, String areaCode) {
        this.testPaperInfoId = testPaperInfoId;
        this.areaCode = areaCode;
    }
}
